# age = 20
# if age >= 18:
#     print('your age is', age)
#     print('adult')

age=18
if age >= 28:
    print("哥哥今年28");
elif age >= 38:
    print("哥是老男人一枚！");
else:
    print("啥也不是！");

# s=input('出生：')
# birth=int(s);
# if  birth<2000:
#     print("00前！");
# else:
#     print("00后");  



# 循环使用
names = ["test","mhg"];
for name in names:
    print(name);  

sum=0;
for x in [1,2,3,4,5,6,7,8,9]:
    sum=sum+x
    print(sum)